<?php
/**
 * Created by PhpStorm.
 * User: frank
 * Date: 2018-10-10
 * Time: 8:29
 */
//require_once ("..\..\_ide_helper.php");
//$str;
//if(trim($str)){
//    echo 'true';
//}else{
//    echo 'false';
//}
//$arr=['h'=>1,'l'=>2];
//echo $arr['h'];
$obj=['allow_user'=>20];
$b64_data=base64_encode(serialize($obj));
echo $b64_data;
file_put_contents(__DIR__.'/license.dat',$b64_data);
//echo base_path();
//$flag=false;

//echo $flag?:'hi';
//echo uniqid(1);
